package com.erp.erp_servers.CustomerComplaint;

import com.erp.erp_entitys.CustomerComplaint.ContractInfoVo;
import com.erp.erp_entitys.CustomerComplaint.CustomerComplaintProductEntity;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICustomerComplaintProductService {
    int deleteByPrimaryKey(Integer id);

    int insert(CustomerComplaintProductEntity record);

    int insertSelective(CustomerComplaintProductEntity record);

    CustomerComplaintProductEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CustomerComplaintProductEntity record);

    int updateByPrimaryKey(CustomerComplaintProductEntity record);

    List<CustomerComplaintProductEntity> selectProductByCid(Integer cId);

    PageInfo<ContractInfoVo> getContractList(ContractInfoVo cVo);

    PageInfo<CustomerComplaintProductEntity> getContractProductInfo(Integer id);

    PageInfo<CustomerComplaintProductEntity> getProductInfoByContractIds(List<Integer> idList);
}